
module.exports = function ($scope, $stateParams, $http, $q, FileUploader,what,tourgroup_code, $resource, toaster, $uibModalInstance, auditing, date2str, str2date) {

	// var tourgroup_code = $stateParams.tourgroup_code;
	// console.log('传的gcode');
	// console.log(tourgroup_code);

	console.log('what');
	console.log(what);
	//产品对象，保存着产品的基本信息
	$scope.saleobj = {
		'tourgroup_code': tourgroup_code || '',
	};
 
  // console.log('12321321312312')
	$scope.util = {
		'what': what,
		'str2date': str2date,
		'date2str': date2str,
		'$uibModalInstance': $uibModalInstance,
    'auditing': auditing,
	}
	//销售品功能列表
	$scope.funobj = {};

	//基本信息中需要提前弄好的信息。
	$scope.baseinfo = {
		
	};

	



};